package com.swt.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.swt.domain.Admin;

import java.util.List;

/**
* @author 苏
* @description 针对表【yesapi_shopxo_s_admin(ShopXO商城-管理员)】的数据库操作Service
* @createDate 2022-05-16 15:21:33
*/
public interface AdminService  {
    List<Admin> selectAlladmin();
    int delectadmin (String id);
    int updateadmin (Admin admin);
    int inseradmin(Admin admin );
    Admin selectbyadmin(String id);
    Page<Admin> pageadmin(Integer page, Integer start,Admin admin);

    boolean login(Admin admin);
}
